<!DOCTYPE html>
<html lang="en" xmlns:th = "http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<h1 th:object="${msg}" th:if="${bln == '1'}"><span th:text="*{name}">哈哈哈</span></h1>
</body>

</html>